package com.sws.hm.dao;

import com.sws.hm.entity.Processesinfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ProcessesinfoDao {
    int deleteByPrimaryKey(Integer id);

    int insert(Processesinfo record);

    int insertSelective(Processesinfo record);

    Processesinfo selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Processesinfo record);

    int updateByPrimaryKey(Processesinfo record);

    List<Processesinfo> SelectNewProcessesinfo();

    int deleteById(@Param("ip") String ip ,@Param("pid") int pid);

    int deleteByIpAndPid(@Param("ip") String ip ,@Param("pid") int pid);

    int insertProcessesinfo(Processesinfo record);

}
